ENVIRONMENT Perl uses PATH in executing subprocesses, and in finding the script if -S is used. HOME or LOGDIR are used if chdir has no argument. Apart from these, Unix perl uses no environment variables, except to make them available to the script being executed, and to child processes.